TrackerLoader

open class TrackerLoader

Helper class for loading Tracker state from SharedPreferences.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val PREFS_KEY: String = "TrackingState"
Link copied to clipboard
val TRACKER_STATE_KEY: String = "com.verint.xm.sdk.tracker.TRACKER_STATE_KEY"
Key for storing the serialized Tracker state in the preferences

Functions

Link copied to clipboard
open fun convertState(persistedState: PersistedState): PersistedState
open fun eraseStateIfNotCompatibleWithConfiguration(context: Context, configuration: IConfiguration)
Link copied to clipboard
Link copied to clipboard
open fun LoadState(context: Context): PersistedState
Method for loading PersistedState from SharedPreferences.
Link copied to clipboard
open fun SaveState(application: Application, persistedState: PersistedState)
Method for saving PersistedState to SharedPreferences.